<div class="container">
    <form class="form-horizontal" name="form1" role="form" method="post" id="form1">
        <legend><h3>项目申请</h3></legend>
        <div class="form-group">
            <label for="inputEmail3" class="col-sm-2 control-label"> 项目名称：</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" id="act" placeholder="项目名称"name="activity">
            </div>
        </div><br>
        <div class="form-group">
            <label for="inputEmail3" class="col-sm-2 control-label"> 负责人：</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" id="lea" placeholder="姓名"name="leader">
            </div>
        </div><br>


        <div class="form-group">
            <label for="inputEmail3" class="col-sm-2 control-label"> 电话号码：</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" id="num" placeholder="电话号码 至少一个" name="number">
            </div>
        </div><br>
        <div class="form-group">
            <label for="inputEmail3" class="col-sm-2 control-label"> 起始时间:</label>
            <div class="col-sm-10">
                <div class="row">
                    <div class="col-md-4">
                        <!-- <input type="text" class="form-control" id="fy" placeholder="年 "name="from_year"> -->
                        <select name="from_year" id="fy" class="form-control"></select>
                    </div>
                    <div class="col-md-4">
                        <!-- <input type="text" class="form-control" id="fm" placeholder="月 "name="from_month"> -->
                        <select name="from_month" id="fm" class="form-control"></select>
                    </div>
                    <div class="col-md-4">
                        <!-- <input type="text" class="form-control" id="fd" placeholder="日 "name="from_day"> -->
                        <select name="from_day" id="fd" class="form-control"></select>
                    </div>
                </div>
            </div>
        </div><br>
        <div class="form-group">
            <label for="inputEmail3" class="col-sm-2 control-label">结束时间: </label>
            <div class="col-sm-10">
                <div class="row">
                    <div class="col-md-4">
                        <!-- <input type="text" class="form-control" id="ty" placeholder="年 "name="to_year"> -->
                        <select name="to_year" id="ty" class="form-control"></select>
                    </div>
                    <div class="col-md-4">
                        <!-- <input type="text" class="form-control" id="tm" placeholder="月 "name="to_month"> -->
                        <select name="to_month" id="tm" class="form-control"></select>
                    </div>
                    <div class="col-md-4">
                        <!-- <input type="text" class="form-control" id="td" placeholder="日 "name="to_day"> -->
                        <select name="to_day" id="td" class="form-control"></select>
                    </div>
                </div>
            </div>
        </div><br>
        <div class="form-group">
            <label for="inputEmail3" class="col-sm-2 control-label"> 项目总人数：</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" id="number1" placeholder="项目总人数" name="sum_member">
                <!-- <select name="sum_member" id="number1" class="form-control"></select> -->
            </div></div><br>
        <div class="form-group">
            <label for="inputEmail3" class="col-sm-2 control-label"> 申请座位数：</label>
            <div class="col-sm-10">
                <!-- <input type="text" class="form-control" id="number2" placeholder="申请座位数" name="sum"onblur="addName()" > -->
                <select name="sum" id="number2" class="form-control">
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                </select>
                <div id="sum_member_msg" class="text-danger"></div>
            </div>
        </div><br>
        <div class="form-group">
            <label for="inputEmail3" class="col-sm-2 control-label"> 成员名字：</label>
            <div class="col-sm-10"id="name">
                <input type="text" class="form-control" id="member" placeholder="申请位置人姓名（请使用全角逗号将姓名隔开）" name="name" >
            </div>
        </div><br>

        <div class="form-group" id = "flag" style = "padding-bottom:15px;display:none">
            <label for="othername" class="col-sm-2 control-label"> 其他成员：</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" id = "othername" placeholder="不占有座位（请使用全角逗号将姓名隔开）" name="others" >
            </div>
        </div>
        
        <div class="form-group">
            <label for="inputEmail3" class="col-sm-2 control-label">补充说明: </label>
            <div class="col-sm-10">
                <input type="textarea" class="form-control" id="det" placeholder="需要另外说明的" name="detail">
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-10 col-sm-offset-2">
                <button type="submit" class="btn btn-success"  id="button">提交</button>
                <button type="reset" class="btn btn-primary">重置</button>
            </div>
        </div>
    </form>
</div>